/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javacroft;

import javacroft.facade.Facade;
import javacroft.view.ConsoleView;
import javacroft.view.GUI.Principale;
import javacroft.view.ViewIF;

/**
 *
 * @author fabien
 */
public class Main
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        /*if(args.length != 2)
        {
            System.out.println("Usage : java JavaCroft db|txt console|gui");
            return;
        }
       Facade maFacade = new Facade(args[0]);
       ViewIF laVue = null;

       if(args[1].equalsIgnoreCase("console"))
       {          
           System.out.println("La console n'est pas implémentée.");//laVue = new ConsoleView(maFacade);
       }
       else if(args[1].equalsIgnoreCase("gui"))
       {
           laVue = new Principale(maFacade);
       }*/
       Facade maFacade = new Facade("txt");
       ViewIF laVue = new Principale(maFacade);
    }

}
